# Copyright (C) 2008 Philip Pronin (philip.pronin@gmail.com)

MAKEFILE     = qTeXPre
CONFIG      -= debug_and_release
CONFIG      += release
MOC_DIR      = tmp/moc
RCC_DIR      = tmp/rcc
UI_DIR       = tmp/ui
OBJECTS_DIR  = tmp/obj
DESTDIR      = bin
TARGET       = qTeXPre
TEMPLATE     = app
QT           = core gui xml
HEADERS      = src/aboutDialog.h src/toolBoxConfig.h src/toolBoxTabConfig.h   \
               src/flowLayout.h src/toolBox.h ui/listViewEx.h src/window.h    \
               src/editor.h src/render.h src/tex.h src/settings.h             \
               src/configDialog.h
SOURCES      = src/main.cpp src/window.cpp src/editor.cpp src/toolBox.cpp     \
               src/tex.cpp src/render.cpp ui/listViewEx.cpp                   \
               src/flowLayout.cpp src/toolBoxTabConfig.cpp                    \
               src/toolBoxConfig.cpp src/aboutDialog.cpp src/settings.cpp     \
               src/configDialog.cpp
FORMS        = ui/mainWindow.ui ui/listViewEx.ui ui/toolBoxConfig.ui          \
               ui/toolBoxTabConfig.ui ui/aboutDialog.ui ui/configDialog.ui 
RESOURCES    = res/aboutDialog.qrc res/toolBoxConfig.qrc res/listViewEx.qrc   \
               res/mainWindow.qrc res/configDialog.qrc
TRANSLATIONS = tr/qTeXPre_ru.ts

win32 {
  QTPLUGIN  += qjpeg qgif
  RC_FILE    = res/win32.rc
}
